package org.xhy.hrm.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.xhy.hrm.util.PageList;

import java.util.List;
import java.util.Map;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class SearchPageList<T> extends PageList<T> {

    /*聚合结果*/
    private Map<String, List<AggVo>> aggMap = null;

    public SearchPageList(long total, List<T> rows, Map<String, List<AggVo>> aggMap) {
        super(total, rows);
        this.aggMap = aggMap;
    }
}
